import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;


public class MD5 {

	public static void main(String[] args) throws UnsupportedEncodingException, NoSuchAlgorithmException {
		byte[] bytesOfMessage = "TEST STRING".getBytes("UTF-8");

		MessageDigest md = MessageDigest.getInstance("MD5");
		byte[] thedigest = md.digest(bytesOfMessage);

	}
	
}
